package com.ljkj.cordial.chat.base;

import android.content.Intent;
import android.widget.Toast;

import com.nic.view.fragment.VBaseFragment;
import com.nic.view.util.JToast;

public abstract class BaseFragment extends VBaseFragment {

    public void showToastSHORT(String text) {
        JToast.show(activity, text, Toast.LENGTH_SHORT);
    }

    protected void openActivity(Class<?> cls) {
        Intent intent = new Intent(activity, cls);
        activity.startActivity(intent);
    }

}
